﻿using Abp.Dependency;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Runtime.Caching
{
    /// <summary>
    /// 数据库驱动
    /// </summary>
    public interface IRedisProvider : ITransientDependency, IDisposable
    {
        /// <summary>
        /// 获取数据库驱动
        /// </summary>
        /// <returns></returns>
        IDatabase GetDatabase();
    }
}
